﻿<%@ Page Title="会员管理" Language="C#" MasterPageFile="~/POS/POS.Master" AutoEventWireup="true" CodeBehind="UpdateVip.aspx.cs" Inherits="Me.Amon.POS.UpdateVip" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 200px" align="left" valign="top">
                        <asp:ListBox ID="LbLevel" runat="server" Width="190px" Height="200px"></asp:ListBox>
                    </td>
                    <td align="center" valign="top">
                        <table border="0" cellpadding="4" cellspacing="0" class="dialog">
                            <tr>
                                <th align="right">
                                    <span class="notice">* </span>会员代码
                                </th>
                                <td align="left" colspan="3">
                                    <asp:Label ID="LlCode" runat="server"></asp:Label>
                                    <asp:HiddenField ID="HdId" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    <span class="notice">* </span>姓
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbLastName" runat="server"></asp:TextBox>
                                </td>
                                <th align="right">
                                    <span class="notice">* </span>会员类型
                                </th>
                                <td align="left">
                                    <asp:DropDownList ID="CbLevel" runat="server">
                                    </asp:DropDownList>
                                    <asp:HiddenField ID="HfLevel" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    <span class="notice">* </span>名
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbFirstName" runat="server"></asp:TextBox>
                                </td>
                                <th align="right">
                                    会员积分
                                </th>
                                <td align="left">
                                    <asp:Label ID="TbPoint" runat="server">0</asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    <span class="notice">* </span>性别
                                </th>
                                <td align="left">
                                    <asp:RadioButtonList ID="RbSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                    </asp:RadioButtonList>
                                </td>
                                <th align="right">
                                    手机
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbCellPhone" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    会员卡类型
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbCardType" runat="server"></asp:TextBox>
                                </td>
                                <th align="right">
                                    办卡日期
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbCardTime" runat="server"></asp:TextBox>
                                    <Juice:Datepicker ID="Datepicker1" runat="server" TargetControlID="TbCardTime" DateFormat="yy-mm-dd" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    生日
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbBirthday" runat="server"></asp:TextBox>
                                    <Juice:Datepicker ID="Datepicker2" runat="server" TargetControlID="TbBirthday" DateFormat="yy-mm-dd" />
                                </td>
                                <th align="right">
                                    电话
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbTelephone" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    QQ号码
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbQQ" runat="server"></asp:TextBox>
                                </td>
                                <th align="right">
                                    其它联系方式
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbContact" runat="server"></asp:TextBox>
                                </td>
                            </tr
                            <tr>
                                <th align="right">
                                    住址
                                </th>
                                <td align="left" colspan="3">
                                    <asp:DropDownList ID="CbProv" runat="server" Visible="false">
                                    </asp:DropDownList>
                                    <asp:DropDownList ID="CbCity" runat="server" Visible="false">
                                    </asp:DropDownList>
                                    <asp:DropDownList ID="CbArea" runat="server" Visible="false">
                                    </asp:DropDownList>
                                    <asp:TextBox ID="TbAddr" runat="server" Width="380px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                    会员状态
                                </th>
                                <td align="left" colspan="3">
                                    <asp:CheckBox ID="CbStatus" runat="server" Text="禁用" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right">
                                </th>
                                <td colspan="3" align="left">
                                    <asp:Label ID="LlErr" runat="server" CssClass="failureNotification"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="4">
                                    <asp:Button ID="BtUpdateVip" runat="server" Text="保存" OnClick="BtUpdateVip_Click" />
                                    <asp:Button ID="BnCancelVip" runat="server" Text="取消" OnClick="BtCancelVip_Click" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
